Skip to content

Add Laravel 13 support - #313

Merged
sandervanhooft merged 2 commits into
mollie:mainfrom
Naoray:feature/laravel-13-support
Apr 14, 2026
Merged

Add Laravel 13 support#313
sandervanhooft merged 2 commits into
mollie:mainfrom
Naoray:feature/laravel-13-support

Conversation

@Naoray

@Naoray Naoray commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

Laravel 13 was released and the illuminate constraints need widening. This also updates the dev tooling to match.

  • illuminate/database and illuminate/support now accept ^13
  • orchestra/testbench gets ^11.0 for Laravel 13 test support
  • CI matrix includes Laravel 13 with PHP version excludes (L13 needs 8.3+, L12 needs 8.2+)
  • actions/checkout bumped from v3 to v4

PHPUnit stays at ^10.0|^11.5 (no ^12.0). PHPUnit 12 dropped support for @test and @group docblock annotations, which the test suite uses throughout. Adding PHPUnit 12 support means converting all annotations to PHP 8 attributes — better done separately.

No code changes — just dependency constraints and CI.

Closes #311, supersedes #312.

Naoray and others added 2 commits April 3, 2026 12:45
- Add ^13 to illuminate/database and illuminate/support constraints
- Add orchestra/testbench ^11.0 and phpunit ^12.0 for L13 testing
- Add Laravel 13 to CI matrix with PHP version excludes
  (L13 requires PHP 8.3+, L12 requires PHP 8.2+)
- Bump actions/checkout to v4

Closes mollie#311

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PHPUnit 12 dropped support for @test and @group docblock annotations in
favor of PHP 8 attributes. The test suite relies on these throughout,
so PHPUnit 12 either skips tests entirely (33 "no tests found" warnings)
or runs integration tests that should be excluded via @group. Converting
to attributes is a separate effort.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Naoray
Naoray requested a review from sandervanhooft April 3, 2026 10:52
@sandervanhooft
sandervanhooft merged commit dc27dce into mollie:main Apr 14, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Laravel 13 support

2 participants